package com.woniuxy.entity;

import java.util.Date;
import java.util.List;

/**
 * @Author 罗蔚
 * @Date 2022/5/4 15:52
 * @Description 批改试卷相关使用的实体类
 */
public class ExamPublish {
    private int id;
    private String examEname;
    private Date examTime;
    private int examAnserTime;
    private String examExplain;
    private int examPaper;
    private int examLimit;
    private int isDeleted;

    private int isCorrect;//0是已批改，或学生还没有提交，其他数字是未批改
    private PaperAttribute paperAttribute;//批改时方便一起查上去
    private List<ExamineeInformation> examineeInformationList;//这次考试的考生

    public int getIsCorrect() {
        return isCorrect;
    }

    public void setIsCorrect(int isCorrect) {
        this.isCorrect = isCorrect;
    }

    public ExamPublish(int id, String examEname, Date examTime, int examAnserTime, String examExplain, int examPaper, int examLimit, int isDeleted, PaperAttribute paperAttribute, List<ExamineeInformation> examineeInformationList, int isCorrect) {
        this.id = id;
        this.examEname = examEname;
        this.examTime = examTime;
        this.examAnserTime = examAnserTime;
        this.examExplain = examExplain;
        this.examPaper = examPaper;
        this.examLimit = examLimit;
        this.isDeleted = isDeleted;
        this.paperAttribute = paperAttribute;
        this.examineeInformationList = examineeInformationList;
        this.isCorrect = isCorrect;
    }

    @Override
    public String toString() {
        return "ExamPublish{" +
                "id=" + id +
                ", examEname='" + examEname + '\'' +
                ", examTime=" + examTime +
                ", examAnserTime=" + examAnserTime +
                ", examExplain='" + examExplain + '\'' +
                ", examPaper=" + examPaper +
                ", examLimit=" + examLimit +
                ", isDeleted=" + isDeleted +
                ", paperAttribute=" + paperAttribute +
                ", examineeInformationList=" + examineeInformationList +
                ", isCorrect=" + isCorrect +
                '}';
    }

    public PaperAttribute getPaperAttribute() {
        return paperAttribute;
    }

    public void setPaperAttribute(PaperAttribute paperAttribute) {
        this.paperAttribute = paperAttribute;
    }

    public List<ExamineeInformation> getExamineeInformationList() {
        return examineeInformationList;
    }

    public void setExamineeInformationList(List<ExamineeInformation> examineeInformationList) {
        this.examineeInformationList = examineeInformationList;
    }


    public ExamPublish() {
    }


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getExamEname() {
        return examEname;
    }

    public void setExamEname(String examEname) {
        this.examEname = examEname;
    }

    public Date getExamTime() {
        return examTime;
    }

    public void setExamTime(Date examTime) {
        this.examTime = examTime;
    }

    public int getExamAnserTime() {
        return examAnserTime;
    }

    public void setExamAnserTime(int examAnserTime) {
        this.examAnserTime = examAnserTime;
    }

    public String getExamExplain() {
        return examExplain;
    }

    public void setExamExplain(String examExplain) {
        this.examExplain = examExplain;
    }

    public int getExamPaper() {
        return examPaper;
    }

    public void setExamPaper(int examPaper) {
        this.examPaper = examPaper;
    }

    public int getExamLimit() {
        return examLimit;
    }

    public void setExamLimit(int examLimit) {
        this.examLimit = examLimit;
    }

    public int getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(int isDeleted) {
        this.isDeleted = isDeleted;
    }

}
